#!/usr/bin/env python
#####################################
# Installation module for Ruler
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="David Kennedy (ReL1K)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update Ruler - a post exploitation tool for Exchange"

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/sensepost/ruler"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="ruler"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git,golang"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git,golang"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="echo 'export GOPATH=$HOME/go' > ~/.profile, . ~/.profile,go get github.com/sensepost/ruler,cp ~/go/bin/ruler /usr/local/bin"

BYPASS_UPDATES="YES"

